package com.feng.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.feng.entity.RestResponse;
import com.feng.entity.Role;
import com.feng.entity.vo.AddRoleVo;
import com.feng.entity.vo.RoleListVo;
import com.feng.entity.vo.UpdateRoleStatusReqVo;
import jakarta.servlet.http.HttpServletResponse;

import java.util.List;

/**
 * (Role)表服务接口
 *
 * @author feng
 * @since 2024-10-18 13:55:15
 */
public interface RoleService extends IService<Role> {

    RestResponse listPageAllRole(RoleListVo roleList);

    RestResponse listAllRole();

    RestResponse updateStatus(UpdateRoleStatusReqVo updateRoleStatus);

    RestResponse addRole(AddRoleVo addRole);

    RestResponse getRoleById(Long id);

    RestResponse updateRole(AddRoleVo addRole);

    RestResponse deleteRole(Long id);

    RestResponse delBatchRole(List<Long> ids);

    void export(HttpServletResponse response);
}

